<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>NPanday - Loading Project/Solution</title>
    <style type="text/css" media="all">
      @import url("../css/maven-base.css");
      @import url("../css/maven-theme.css");
      @import url("../css/site.css");
    </style>
    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
                                            <img src="../." alt="" />
    
            </span>
                          <span id="bannerRight">
    
                                            <img src=".././images/logo-home.png" alt="" />
    
            </span>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2010-01-21
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>General Info</h5>
            <ul>
              
    <li class="none">
                    <a href="../index.html">NPanday Overview</a>
          </li>
              
    <li class="none">
                    <a href="../release-notes.html">NPanday Release Notes</a>
          </li>
              
    <li class="none">
                    <a href="../faqs.html">NPanday FAQs</a>
          </li>
              
    <li class="none">
                    <a href="../workarounds.html">NPanday Workarounds</a>
          </li>
              
    <li class="none">
                    <a href="../plugins/index.html">NPanday Plugins</a>
          </li>
              
    <li class="none">
                    <a href="../conventions.html">Conventions</a>
          </li>
          </ul>
              <h5>Getting Started</h5>
            <ul>
              
                
              
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="../installation/index.html">Installation</a>
                </li>
              
                
              
      
            
      
              
        <li class="collapsed">
                    <a href="../installation/uninstall.html">Uninstall NPanday</a>
                </li>
              
    <li class="none">
                    <a href="../guide/build_tool.html">Using the Build Tool</a>
          </li>
              
    <li class="none">
                    <a href="../guide/dependencies.html">Project Dependencies</a>
          </li>
              
    <li class="none">
                    <a href="../guide/install_file.html">Installing Files Manually</a>
          </li>
              
    <li class="none">
                    <a href="../guide/simple_project.html">Creating a Simple Project</a>
          </li>
              
    <li class="none">
              <strong>Loading Project/Solution</strong>
        </li>
              
    <li class="none">
                    <a href="../guide/quickstart.html">Quick Start</a>
          </li>
              
    <li class="none">
                    <a href="../guide/portability.html">Portability</a>
          </li>
          </ul>
              <h5>IDE Integration</h5>
            <ul>
              
    <li class="none">
                    <a href="../ide/execute_goals.html">Executing Maven Goals</a>
          </li>
              
    <li class="none">
                    <a href="../ide/assembly_key.html">Setting Assembly Key</a>
          </li>
              
    <li class="none">
                    <a href="../ide/remote_repo.html">Remote Repository</a>
          </li>
              
    <li class="none">
                    <a href="../ide/settings.html">Using Custom Settings</a>
          </li>
              
    <li class="none">
                    <a href="../ide/importing.html">Importing Projects</a>
          </li>
              
    <li class="none">
                    <a href="../ide/artifacts.html">Repository Artifacts</a>
          </li>
              
    <li class="none">
                    <a href="../ide/references.html">Project References</a>
          </li>
              
    <li class="none">
                    <a href="../ide/web_references.html">Web References</a>
          </li>
              
                
              
      
            
      
              
        <li class="collapsed">
                    <a href="../ide/release.html">Releasing Project</a>
                </li>
              
    <li class="none">
                    <a href="../ide/test.html">Integration Test</a>
          </li>
          </ul>
              <h5>Project Information</h5>
            <ul>
              
    <li class="none">
                    <a href="../..">NPanday Site</a>
          </li>
              
    <li class="none">
                    <a href="https://npanday.svn.codeplex.com/svn/" class="externalLink">NPanday SVN</a>
          </li>
              
    <li class="none">
                    <a href="http://maven.apache.org/" class="externalLink">Maven</a>
          </li>
              
    <li class="none">
                    <a href="http://www.mono-project.com/" class="externalLink">Mono Project</a>
          </li>
              
    <li class="none">
                    <a href="http://dotgnu.org/" class="externalLink">DotGNU</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="../project-info.html">Project Information</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>Loading Project/Solution</h2>
<p>This section explains how to load and use NPanday.</p>
<ol type="1"><li>If it is not running, start Visual Studio from your shortcut Menu or the Windows Start menu.</li>
<li>If the NPanday Build System has not been started, from inside Visual Studio, select Tools&gt;NPanday Build System.<p>After you start the NPanday Build System and it is running, it no longer appears as an option on the Tools menu (and reappears again when Visual Studio is stopped and started). Therefore, if you had previously started the NPanday Build System and it is still running, you do not need to start it again in this step.</p>
</li>
<li>If the Project/Solution was recently opened you can select it from the Recent Projects pane by clicking on it.<p>Or select File&gt;Open&gt;Project/Solution to open the Project/Solution. An Open Project window appears, which allows you to browse to find the specific Project/Solution you want to open.</p>
<p>For example, if you created the archetype C# or VB projects in the previous section of this document, from the Open Project window browse to the <tt>NPanday.Test</tt> directory (created previously) and locate the Project/Solution file (NPanday.Test.sln). Click to select the Project/Solution file, then click on Open to load the Project/Solution.</p>
<p>The <tt>*.sln</tt> file is located under the directory you created in the previous section of this document. In this sample procedure, you created a directory called npandaytest and the subsequent steps created the Project/Solution files under that directory. To find the <tt>*.sln</tt> file, you would browse to <tt>C:\npandaytest\NPanday.Test</tt> and find the file called <tt>NPanday.Test.sln</tt>.</p>
<p>Upon opening your Project/Solution, you may see a window with the selection Load project normally. Select that option and continue. This window may appear twice, so select Load project normally both times. After you open the Project/Solution, the associated files and directories appear in the Solution Explorer window of Visual Studio.</p>
</li>
<li>In the Solution Explorer pane, right-click on the <tt>NPanday.Test</tt> folder.<br />
.<img src="../images/open_solution.jpg" alt="Opening a Project Solution" /></li>
<li>In the Solution Explorer pane, right-click on the project and select All NPanday Projects or Current NPanday Project. Then, you may select the goal you want to perform, for example Install to install all the sub-projects in the parent project or the currently selected project respectively.<img src="../images/maven-goals.jpg" alt="Maven goals menu" /><p>The goal will begin running, and status information appears in the Visual Studio Output pane. NPanday installs the artifacts in a .NET local repository, located in <tt>C:\Documents and Settings\[user_home]\.m2\uac</tt>.</p>
<p>For the NPanday.Test solution the artifact is placed here, <tt>C:\Documents and Settings\[user_home]\.m2\uac\gac_msil\NPanday.Test\1.0-SNAPSHOT__NPanday\NPanday.Test.dll</tt></p>
<p>The contents in <tt>C:\Documents and Settings\[user_home]\.m2\uac\gac_msil</tt> SHOULD NOT be manually modified or the project build will fail due to artifacts that are not properly indexed and are not synchronized with the repository. In case the contents have been modified, delete the <tt>C:\Documents and Settings\[user_home]\.m2\uac</tt> directory then re-install the project.</p>
<p>If the build fails on nunit-console see the <a href="../installation/index.html"> Pre-requisites</a> section for information on installing NUnit 2.2+ and adding it to your PATH.</p>
<p>If you notice build errors in the Output pane, it may be because your PATH is not set correctly to find the compiler. The <a href="../installation/index.html"> Pre-requisites</a> section explains how to set the PATH correctly.</p>
</li>
</ol>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2010
    
          NPanday
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
